﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace PominaScale
{
    class define
    {
        internal const string UNKNOWN = "Không xác định"; 
        internal const string MANAGER_ACCOUNT = "admin";
        internal const string USER_ADMIN = "nimda";
        internal const string PASSWORD_ADMIN = "091";
        internal const string LOG_FILE = "log.txt";
        internal static readonly string REMEMBER_PATH = Path.GetTempPath() + "remeberfile.vss";

        static internal string SERVER { get; set; }
        static internal string DATABASE { get; set; }
        static internal string USERID { get; set; }
        static internal string PASSWORD { get; set; }
        static internal bool WINDOWMODE { get; set; }

        private static string _connectionString = ApplicationIsolatedSettings.GetSetting("CONNECTION_STRING");
        internal static string CONNECTIONSTRING
        {
            get { return _connectionString; }
            set { _connectionString = value; }
        }
    }
}
